home *** CD-ROM | disk | FTP | other *** search
/ Internet Info 1994 March / Internet Info CD-ROM (Walnut Creek) (March 1994).iso / answers / rec / games / adventure-systems < prev    next >
Internet Message Format  |  1994-04-14  |  20KB

  1. Path: bloom-beacon.mit.edu!hookup!swrinde!cs.utexas.edu!howland.reston.ans.net!wupost!waikato!comp.vuw.ac.nz!kauri.vuw.ac.nz!gnat
  2. From: gnat@kauri.vuw.ac.nz (Nathan Torkington)
  3. Newsgroups: rec.arts.int-fiction,news.answers,rec.answers
  4. Subject: Adventure Authoring Systems FAQ
  5. Supersedes: <authoring-systems-faq_765115203@kauri.vuw.ac.nz>
  6. Followup-To: rec.arts.int-fiction
  7. Date: 14 Apr 1994 12:00:11 GMT
  8. Organization: Dept. of Comp. Sci., Victoria Uni. of Wellington, New Zealand.
  9. Lines: 435
  10. Approved: news-answers-request@MIT.edu
  11. Distribution: world
  12. Message-ID: <authoring-systems-faq_766324803@kauri.vuw.ac.nz>
  13. Reply-To: Nathan.Torkington@vuw.ac.nz
  14. NNTP-Posting-Host: kauri.vuw.ac.nz
  15. Originator: gnat@kauri.vuw.ac.nz
  16. Xref: bloom-beacon.mit.edu rec.arts.int-fiction:2911 news.answers:18050 rec.answers:4896
  17.  
  18. Archive-name: games/adventure-systems
  19. Maintained-by: Nathan.Torkington@vuw.ac.nz <Nathan Torkington>
  20. Last-changed: Fri Oct 15 13:05:27 NDT 1993
  21.  
  22. ----------------------------------------
  23. Changes:
  24.  * ANSI C ADVSYS
  25. ----------------------------------------
  26.  
  27. This is a list of systems that can be used to author adventure games.
  28. Information about TADS, ADVSYS, ADL, OASYS, INFORM and ALAN can be
  29. found here.
  30.  
  31. Where possible, pointers to existing information (such as books,
  32. magazine articles, and ftp sites) are included here, rather than
  33. rehashing that information again.
  34.  
  35. If you haven't already done so, now is as good a time as any to read
  36. the guide to Net etiquette which is posted to news.announce.newusers
  37. regularly.  You should be familiar with acronyms like FAQ, FTP and
  38. IMHO, as well as know about smileys, followups and when to reply by
  39. email to postings.
  40.  
  41. For more information on interactive fiction in general, pointers to
  42. books and dissertations, and this group's focus, see David Graves'
  43. "Frequently Asked Questions (FAQ)" posting, which appears periodically
  44. in rec.arts.int-fiction.
  45.  
  46. This FAQ is currently posted to rec.arts.int-fiction and news.answers.
  47. All posts to news.answers are archived, and will then possible to
  48. retrieve the last posted copy via anonymous FTP from
  49.     rtfm.mit.edu
  50. as
  51.     /pub/usenet/news.answers/games/adventure-systems
  52. Those without FTP access should send e-mail to
  53.     mail-server@rtfm.mit.edu
  54. with
  55.     "send usenet/news.answers/finding-sources"
  56. in the body to find out how to get archived news.answers posts by
  57. e-mail.
  58.  
  59. This FAQ was mostly written by Nathan Torkington, with numerous
  60. contributions by readers of rec.arts.int-fiction.  Credits appear at
  61. the end.  Comments and indications of doubt are enclosed in []s in the
  62. text.  Each section begins with forty dashes ("-") on a line of their
  63. own, then the section number.  This should make searching for a
  64. specific section easy.
  65.  
  66. If you suffer loss in any way, shape or form from the use of
  67. information in this file, then Nathan Torkington expressly disclaims
  68. responsibility for it.  It's your own damn fool fault if you go broke,
  69. detonate your computer or eat broccoli as a result of anything you
  70. read here.
  71.  
  72. As a final note, this FAQ should be regarded as volatile.  If this
  73. version is more than two months old, you should consider acquiring a
  74. new version.  See the instructions above for details of how to do
  75. this.
  76.  
  77. Contributions, comments and changes should be directed to
  78.     Nathan.Torkington@vuw.ac.nz
  79.  
  80. ----------------------------------------
  81. List of Answers
  82.  
  83. 1    What to look for in a system
  84. 2    Writing your own adventure
  85. 3    TADS
  86. 4    ALAN
  87. 5    ADVSYS
  88. 6    ADL
  89. 7    OASYS
  90. 8    INFORM
  91. 9    Interactive-Fiction FTP Site
  92. Z    Credits
  93.  
  94. ----------------------------------------
  95. 1    What to look for in a system
  96.  
  97.  --> Sample adventures, written using the system.  This will make
  98. learning how to program the system easy.  It will also show you the
  99. workarounds for any clumsiness in the language.
  100.  
  101.  --> The ability to handle non-player characters.  This means that
  102. players should be capable of being addressed, eg "amy, take the cat"
  103. should be a valid command to type.  Players should be capable of
  104. having turns in the background (to allow movement, thieving, etc).
  105.  
  106.  --> The ability to handle events that occur independent of players
  107. actions (often called fuses and daemons).  Fuses are scheduled events,
  108. such has having the bomb detonate three turns after the fuse is lit.
  109. Daemons are routines that are called once every move.
  110.  
  111.  --> Documentation.  You need, at least, a reference page.  Sample
  112. code helps, and a full explanation of the order that routines are
  113. called by the game kernel (eg ADL calls the following for each direct
  114. object: the actor's action, the verb's preaction, the indirect
  115. object's action, the direct object's action, then finally the verb
  116. action.  If any one of these procedures returns a true value, then
  117. that procedure is assumed to have completed the command handling for
  118. that direct object, and processing continues for the next direct
  119. object.  After all the direct objects are handled this way, the room's
  120. action is called and the kernel continues).
  121.  
  122.  --> Distribution mechanism.  Is the game code fully yours to use?  Do
  123. you have to pay a fee for commercial distribution?  For shareware
  124. distribution?  For free distribution?  Are you obligated to offer the
  125. source code to the game interpreter as well as your compiled
  126. adventure?
  127.  
  128.  --> Is it object oriented?  If so, you will probably have an easier
  129. time of writing your adventure -- text adventure worlds lend
  130. themselves to object orientation better than some other forms of
  131. simulation.  Of course, learning the subtleties of the OO method might
  132. be harder than writing your game using a traditional (non-OO) system.
  133.  
  134.  --> Is the game language functional or procedural?  That is, does the
  135. language look like LISP (lots of parentheses) or a kind of cross
  136. between BASIC and C (curly braces {} are a dead giveaway for C
  137. lookalikes).  You might have to learn a whole new programming style if
  138. you write your adventure in a language style that you are unfamiliar
  139. with.
  140.  
  141. ----------------------------------------
  142. 2    Writing your own adventure
  143.  
  144. Dave Librik posted Dave's Quick Guide To Getting Started with TADS,
  145. which was so good that I've generalised it to cover most adventure
  146. systems.
  147.  
  148. Above all else, the key to learning how to write adventures is to
  149. start writing one.  Practice not only makes perfect, but
  150. trial-and-error makes passable too.  You will need the following:
  151.  
  152.  --> a language/kernel reference manual for your adventure system.
  153.      You might have to register your system to get this.
  154.  --> printouts of sample adventures.  Staple each printout, so the
  155.      printouts won't get lost or confused.  Also print out any
  156.      standard libraries that the system comes with (eg adv.t in TADS
  157.      or standard.adl in ADL).
  158.  
  159. Now:
  160.  --> familiarise yourself with the basics of the language.  Subtleties
  161.      (syntax details, daemons, fuses) should be left for later -- just
  162.      the basic ideas of objects, inheritance (if your language is OO),
  163.      printing text.  It might help if you already knew a language in
  164.      the same style (procedural or functional) as the language you
  165.      will have to program in.
  166.  --> read the sample adventures.  Get a feel for how items and rooms 
  167.      are defined.  This step is fairly important -- you will write
  168.      most of your adventures by strategically stealing the way someone
  169.      else has written theirs (software professionals call this "code
  170.      reuse" -- we call it laziness).
  171.  --> make a copy of one of the simpler sample adventures.  Take out
  172.      all the stuff specific to that adventure (rooms, players,
  173.      objects, etc) and just leave the verbs, the initialisation code,
  174.      and the definition of the player's character.  Now start writing
  175.      your own adventure.  Start simple -- a couple of rooms and some
  176.      objects to take.
  177.  --> add more complicated things.  For ideas of things to add, it
  178.      helps to have played some adventures.  Try adding code for doors,
  179.      containers, other actors, new verbs, fancy verbs that need
  180.      indirect objects.  Use the sample adventures that came with the
  181.      system as a reference for using things.
  182.  --> if the sample adventure you modified included standard code for
  183.      players or startup (std.t in TADS), then include those libraries
  184.      and customise them to your taste (you should have no trouble
  185.      reading and understanding the code by now).  Add any of your own
  186.      initialisation code to this.
  187.  --> when you want to start making significant changes to the
  188.      behaviour of the adventure, you will have to change any standard
  189.      libraries that your adventures includes (standard.adl in ADL,
  190.      adv.t in TADS).  Whenever you make a change, comment at the top
  191.      of the file why you make the change, and exactly what you
  192.      changed.  This is so that when your later adventures need any of
  193.      the features you have added, it will be easy to add them.  It
  194.      also helps when newer releases of the adventure system arrive --
  195.      you can make the changes to the new standard library with minimal
  196.      hassle.
  197.  --> now realise that what you have written is a practice game.  It
  198.      probably wasn't well laid out, or well planned, or even
  199.      consistent.  To write your Real Adventure, you will have to go
  200.      through some serious Design and Implementation.
  201.  
  202. The classic Colossal Cave adventure has been rewritten in TADS by Dave
  203. Baggett <dmb@ai.mit.edu> and is available in source from the IF
  204. archive (see Section 9) in the directory
  205.     if-archive/games/others/ccr.tar.Z
  206.  
  207. ----------------------------------------
  208. 3    TADS
  209.  
  210. TADS stands for "Text Adventure Development System".  It is available
  211. for MSDOS, Atari ST, Macintosh, Sun, SGI, Linux, DEC/MIPS, and NeXT
  212. computers at the moment.  It is available via anonymous FTP as
  213.     msdos.archive.umich.edu:msdos/games/adventure/tads.zip
  214.     mac.archive.umich.edu:mac/game/gameutil/tads2.1.cpt.hqx
  215.     atari.archive.umich.edu:atari/Games/Tads/tads.lzh
  216.     ftp.gmd.de:if-archive/programming/tads/
  217. but these are not the latest versions (at the time of writing).  The
  218. latest version, TADS 2.1, features virtual memory, expanded C-like
  219. syntax, improved documentation and an improved debugger.
  220.  
  221. TADS is released by High Energy Software, and is shareware.  Shareware
  222. games can (and have) been written using TADS, and commercial
  223. distribution of games written using TADS seems allowable.  TADS
  224. consists of a compiler (which converts the source code to adventures
  225. into TADS game code) and an interpreter (which reads the TADS game
  226. code produced by the compiler and lets users play the game).
  227.  
  228. Registered users get a form of the interpreter which can be combined
  229. with the game code file to form a single executable for distribution.
  230. The interpreter is licensed for shareware use, you don't have to pay a
  231. penny if you distribute your games via shareware.  If you plan to sell
  232. it commercially, contact Mike Roberts for information on getting the
  233. rights.
  234.  
  235. The TADS language is declarative and object-oriented.  It appears very
  236. C-like, and the syntax shouldn't be too difficult to learn by people
  237. who know C or Pascal.  The language provides a basic syntax, some text
  238. manipulation and support for object-oriented programming.  The
  239. interpreter provides parsing, question-and-response I/O format, and
  240. activation of the appropriate methods in objects depending on what the
  241. player types.  The language has support for actors, fuses and daemons.
  242.  
  243. TADS comes with the source to a trivial adventure, and source to an
  244. Infocom quality game ("Ditch-Day Drifter").  On registration of the
  245. package, a manual can be obtained.  The manual for v1.* is very good
  246. (although it doesn't explain well the contents of the standard library
  247. file, adv.t).  The v2.1 manual is apparently twice the size of v1.
  248.  
  249. The prices for versions < 2.0 are:
  250.  TADS shareware fee: 25.00
  251.    Includes printed TADS Author's Manual, the
  252.    current TADS software on specified media,
  253.    plus the source code for "Ditch Day
  254.    Drifter," a complete sample game.
  255.  Deep Space Drifter: 10.00
  256.    Includes "Deep Space Drifter" on the disk
  257.    media specified above, plus a complete map
  258.    of the game and the DSD Hint Book.
  259.  California residents please add 7% sales tax.
  260.  
  261. The price of v2.1 is US$40 (+ California sales tax for California
  262. residents, $3 for shipping and handling within the US and Canada, or
  263. $8 for international air mail).  If you register "Deep Space Drifter"
  264. at the same time, the total is only US$50 (plus sales and shipping).
  265. For more information, contact:
  266.  --> BBS:        415 493 2420 (set modem to 14400-N-8-1)
  267.  --> CompuServe: 73737,417
  268.  --> GEnie:      M.ROBERTS10
  269.  --> Internet:   73737.417@compuserve.com
  270.  --> US Mail:    High Energy Software, PO Box 50422, Palo Alto, CA
  271. 94303.
  272.  
  273. ----------------------------------------
  274. 4    ALAN
  275.  
  276. The Alan System is a special purpose language for creating interactive
  277. fiction or text adventures. It consists of a compiler which compiles
  278. Alan source to an intermediate form and an interpreter that interprets
  279. such an intermediate form.
  280.  
  281. The Alan language was designed to give the maximum functionality from
  282. as little code-writing as possible.  This means:
  283.  --> the system provides default behaviour for many things (which the
  284.      author can override).
  285.  --> the system directly supports locations, objects, actors and
  286.      other concepts natural to the domain of interactive fiction.
  287.  --> the author can extend the allowable input of the player, and
  288.      connect actions to that input.
  289.  
  290. It is also a safe language in the sense that extensive compile-time
  291. checking makes it nearly impossible to produce a game that crashes or
  292. behaves inconsistently.
  293.  
  294. The language is declarative and very close to English. It supports
  295. fuses and daemons by use of events, and is object-inspired (all
  296. declarations are local to entities, but no inheritance).
  297.  
  298. The Alan System is request-ware. The complete system is available
  299. without charge through electronic mail.  Send a message with a single
  300. line:
  301.     SEND INFO
  302. to
  303.     alan-request@softlab.se
  304. for more information.
  305.  
  306. The complete distribution includes the compiler, the documentation, a
  307. 100+ page manual in plain text and postscript versions, some examples
  308. and the interpreter with debugging support.  The interpreter can be
  309. redistributed with your games, so this seems to open the way for
  310. commercial and shareware release.
  311.  
  312. The manual is available from the IF archive (see Section 9) in the
  313. directory
  314.     if-archive/programming/alan/manual.zip
  315.  
  316. The current version of Alan is 2.4 which runs on Sun/UNIX, Amigas, PCs
  317. (MSDOS and OS/2) and VAX/VMS.  A major revision of the manual is
  318. planned, and a larger game is also being worked on for release.
  319.  
  320. The authors may be contacted at:
  321.  
  322.     alan-request@softlab.se        pseudo-mail-server for deliveries
  323.     thoni@softlab.se
  324.     gorfo@ida.liu.se
  325.  
  326. ----------------------------------------
  327. 5    ADVSYS
  328.  
  329. ADVSYS (ADVenture SYStem) was written by David Betz, and the latest
  330. version (1.3) is based on the 1986 release of 1.2 which seems more
  331. prolific.  This package consists of LaTeX and ASCII documentation, C
  332. source code for the compiler and interpreter, and the source code for
  333. several sample adventures (as well as a demonstration library).  It
  334. was written up in Byte magazine [reference here].
  335.  
  336. The language is LISP-like, and object-oriented.  The game has no
  337. knowledge of the difference between actors, objects, locations, etc --
  338. all this must be present in the game code.  As such, the runtime
  339. library is rather more complex than might be desired.  Actors, fuses
  340. and daemons can all be implemented easily.
  341.  
  342. There is [somewhere] a library of code developed by the (now-defunct)
  343. ADVSYS mailing list.  This provides rather better code than the
  344. library distributed with ADVSYS, and includes containers and limits to
  345. containment.
  346.  
  347. The documentation says "Permission is hereby granted for unrestricted
  348. non-commercial use".  You might have to contact David Betz to ask
  349. about commercial and shareware distribution.
  350.  
  351. ADVSYS was posted to comp.sources.games, and appeared in volume 2.  It
  352. can, therefore, be found on any FTP site that archives it.  Two such
  353. FTP sites are:
  354.     ftp.uu.net:/usenet/comp.sources.games/volume2/advsys
  355.     wuarchive.wustl.edu:/usenet/comp.sources.games/volume02/advsys
  356.  
  357. An ANSI C version is available, on the IF Archive site (see section 9).
  358.  
  359. ----------------------------------------
  360. 6    ADL
  361.  
  362. ADL (Adventure Design Language) was written by Ross Cunniff and Tim
  363. Brengle.  The package posted to comp.sources.games consists of plain
  364. ASCII documentation, C source for a compiler, interpreter and
  365. debugger, and several sample adventures (ranging from the complex to
  366. the very simple) which illustrate the various features of ADL.
  367.  
  368. ADL is a declarative, semi-object-oriented language.  It has the
  369. concept of methods (procedures that are attached to objects) but not
  370. inheritance.  This means that an object-oriented style of programming
  371. will be rather inhibited.
  372.  
  373. The language recognises actors, locations and objects as being
  374. distinct.  Fuses and daemons are supported in the language.  A
  375. standard library comes with the package, that gives a firm foundation
  376. to write games on.
  377.  
  378. The documentation is very close to being excellent, and contains a
  379. full language reference.  The documentation doesn't appear to contain
  380. any guide to distribution of anything but the source code.  Therefore
  381. it may be legal to distribute the compiled interpreter with your game.
  382. For more information, you should contact the authors at:
  383.  
  384.         USMAIL: Ross Cunniff
  385.                 636 La Grande, #7
  386.                 Sunnyvale, CA 94087
  387.  
  388. ----------------------------------------
  389. 7    OASYS
  390.  
  391. OASYS stands for Object-Oriented Adventure System.  It was distributed
  392. in comp.binaries.ibm.pc in 1992, and is available from any FTP site
  393. which archives cbipc.  It was written by Russell Wallace, who is
  394. reachable via e-mail as RWALLACE@vax1.tcd.ie.
  395.  
  396. The package has documentation, two sample adventures, C source for the
  397. compiler and interpreter, and MS-DOS binaries for the compiler and
  398. interpreter.  The source is missing an include file (Russell will
  399. provide it on request) and shouldn't be very difficult to port to non
  400. MS-DOS systems.
  401.  
  402. The language is declarative, and (not really) object-oriented.  The
  403. major limitation of the parser is that it forces the player to type
  404. the adjectives along with the noun ("ceramic key" must be typed, even
  405. if there are no other keys accessable).  This may be fixed later.
  406.  
  407. Actor support is provided, and players can issue commands to other
  408. actors.  [fuses?  daemons?]
  409.  
  410. There don't appear to be any legal restrictions, so you can probably
  411. distributed compiled interpreters with your commercial/shareware/free
  412. games.
  413.  
  414. ----------------------------------------
  415. 8    INFORM
  416.  
  417. INFORM was written by Graham Nelson at Oxford University, UK.  It is a
  418. compiler that produces Infocom story files.  There are many
  419. public-domain interpreters for these files, available from the
  420. Interactive Fiction archive site.
  421.  
  422. The compiler is written in ANSI C, and is freely available (but not
  423. public domain).  It produces version-3 files from a fairly C-like
  424. source language.  The documentation (in the same package as the
  425. source) contains a description of Inform, as well as a specification
  426. of the story file form.  It also contains some articles on game design
  427. with relevance to designing in this system.
  428.  
  429. Two example games are included, one medium-sized and one trivial.
  430. Both the source files and the story files are included.
  431.  
  432. ----------------------------------------
  433. 9    Interactive-Fiction FTP Site
  434.  
  435. The FTP site ftp.gmd.de:if-archive contains most, if not all,
  436. of the software mentioned here as well as interpreters for Infocom
  437. games, source and binaries for many other games and sundry information
  438. files too numerous to mention.
  439.  
  440. ftp.gmd.de: is mirrored in wuarchive.wustl.edu:/mirrors/if-archive.
  441.  
  442. The latest FAQ is stored here as
  443.     if-archive/rec.arts.int-fiction/authoring-systems.FAQ
  444.  
  445. ----------------------------------------
  446. Z    Credits
  447.  
  448. Nathan Torkington <Nathan.Torkington@vuw.ac.nz>, David Librik
  449. <librik@cory.Berkeley.EDU>, Dave Baggett <dmb@case.ai.mit.edu>, Thomas
  450. Nilsson <thoni@ida.liu.se>, Graham Nelson <nelson@vax.ox.ac.uk>,
  451. Volker Blasius <blasius@gmd.de> and the documentation for the various
  452. systems mentioned here.
  453.